SftTree/NET 2.0

GridLines Property, CellClass Class

Softel vdm, Inc.

Defines the grid lines style for this cell.

Syntax      CellClass Class (Softelvdm.SftTreeNET)

VB   

Public Property GridLines As GridLinesOptStyleEnum

C#   

public GridLinesOptStyleEnum GridLines { get; set; }

C++   

public: property GridLinesOptStyleEnum GridLines {
        GridLinesOptStyleEnum get();
        void set(GridLinesOptStyleEnum value);
}

Property Value

The grid lines.

GridLinesOptStyleEnum

Value

Description

None

0

No grid lines are shown.

Vertical

1

Vertical grid lines are shown.

Horizontal

2

Horizontal grid lines are shown.

Both

3

Both horizontal and vertical grid lines are shown.

Default

-1

The grid lines style is determined by the containing item or control.

The default value is GridLinesOptStyleEnum.Default.

Comments

The GridLines property defines the grid lines style for this cell.

The grid lines styles default for all cells is defined using the control's GridLines property. Columns can override the default for cells in one column using the ColumnClass.GridLines property. In turn, cells can override that default using the CellClass.GridLines property.

Grid lines colors can be defined using the GridHorizontalColor and GridVerticalColor properties.

GridLinesPen defines the pen style used to draw grid lines.

Grid lines are only used in the item area.

Only the right and bottom edge of a cell are used to render grid lines, so this property only affects these areas. The upper or left edge of a cell are not used. Instead, the previous or upper cell render the grid lines. If grid lines in these area need to be manipulated, the properties of the upper or left cell must be modified.

See Also     CellClass Class | Softelvdm.SftTreeNET Namespace


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com